package com.example.mylibrary.base

open class BasePresenterImpl<V : BaseView> : BasePresenter<V> {
    var mView: V? = null

    /**
     * 解绑视图
     */
    override fun detachView() {
        mView = null
    }

    /**
     * 绑定视图
     */
    override fun attachView(page: V) {
        mView = page
    }
}